package cn.springboot.erp.service;

import cn.springboot.erp.commons.QueryParams;
import cn.springboot.erp.commons.ResponseResult;
import cn.springboot.erp.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
* @author asus
* @description 针对表【role】的数据库操作Service
* @createDate 2024-04-29 19:10:54
*/
public interface RoleService extends IService<Role> {

    ResponseResult rolePage(QueryParams<Role> queryParams);

    ResponseResult deleteById(Integer id);

    ResponseResult selectByIdPermission(Integer id);

    ResponseResult updateRolePermission(Map<String, Object> map);
}
